﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BKH.BLL;
using BKH.MyUserControl;

namespace BKH.MyUserControl.UCHienThi
{
    public partial class ucNhapVienBNTrongDSCho : UserControl
    {
        int idBN;
        public ucNhapVienBNTrongDSCho(int id)
        {
            InitializeComponent();
            this.idBN = id;

            showNameBN();
        }

        void showNameBN()
        {
            BenhNhanBUO bn = new BenhNhanBUO();
            tbl_BenhNhan obj = bn.GetSingle(idBN);
            lbBenhNhan.Text = obj.FirstName + " " + obj.LastName;
            
        }

    }
}
